package com.zerox.mapper;


import com.zerox.pojo.Supplier;
import com.zerox.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author
 * @version V1.11
 * @ClassName:
 * @Description:
 * @Date
 */

public interface SupplierMapper {

    List<Supplier> getSupplierList(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize, @Param("supName") String supName);

    int count(@Param("supName")String supName);

    int add(@Param("supplier") Supplier supplier);

    Supplier selectId(@Param("id") Integer id);

    int del(@Param("id") Integer id);

    int update(Supplier supplier);

    int selectBysupCode(String supCode);
}
